import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'

import api from '@/api/index'
import project from '@/project/index'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '',
    redirect: '/project'
  }, {
    path: '/project',
    name: 'project',
    component: project
  }, {
    path: '/api',
    name: 'api',
    component: api
  }]
})
